<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="security"%>

<security:authorize ifAllGranted="ROLE_EDITABLE">

  <a id="saveButton" class="button_inputDisabled"><span><spring:message code="button.save"/></span></a>

  <c:if test="${adminCommand.user.username != 'admin' && adminCommand.user.username != adminCommand.loggedOnUserName && !adminCommand.isNew  && adminCommand.user.username != 'utilisoft'}">
  <a id="deleteButton" class="button_input" onclick="openDeleteDialog();" onmouseover="buttonHover(this);" onmouseout="buttonNormal(this);"><span><spring:message code="button.delete"/></span></a>
  </c:if>

  <security:authorize ifAllGranted="LOGON_NOSSO">
  <c:if test="${!adminCommand.isNew  && adminCommand.user.username != 'utilisoft'}">
  <a id="resetPasswordButton" class="button_input" onclick="openResetPasswordDialog();" onmouseover="buttonHover(this);" onmouseout="buttonNormal(this);"><span><spring:message code="button.reset.password"/></span></a>
  </c:if>
  </security:authorize>

</security:authorize>

<a id="cancelButton" class="button_input" onclick="this.blur();cancel();" onmouseover="buttonHover(this);" onmouseout="buttonNormal(this);"><span><spring:message code="button.cancel"/></span></a>



